package com.lanqiao.gxnushop.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.sql.Date;

@Schema(description ="促销活动表")
@Data
public class Promotions
{
    @Schema(description = "唯一标识促销活动")
    private String promotionId;

    @Schema(description = "关联 stores 表，标识促销活动的店铺")
    private String storeId;

    @Schema(description = "促销活动名称")
    private String name;

    @Schema(description = "折扣类型（如 \"百分比\"、\"固定金额\"）")
    private String discountType;

    @Schema(description = "折扣值")
    private String discountValue;

    @Schema(description = "促销活动开始时间")
    private String  startDate;

    @Schema(description = "促销活动结束时间")
    private String endDate;

    @Schema(description = "促销状态（如1 \"进行中\"、0\"已结束\".2未开始）")
    private String state;
}
